﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/List.Master" AutoEventWireup="true" CodeBehind="InterestList.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Module.Audit.InterestList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/easyui.css" />
	<link rel="stylesheet" type="text/css" href="../../Styles/icon.css" />
	<script type="text/javascript" src="../../Scripts/jquery-1.6.min.js"></script>
	<script type="text/javascript" src="../../Scripts/jquery.easyui.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <div class="query_area">
        批次：<asp:TextBox ID="txtBatchNo" runat="server" Width="60px" cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isInt();" ></asp:TextBox>&nbsp;&nbsp;
		项目编号：<asp:TextBox ID="txtProjectSN" runat="server"  Width="60px"   cssClass="input2" MaxLength="200"></asp:TextBox>&nbsp;&nbsp;
        项目名称：<asp:TextBox ID="txtProjectName" runat="server"  cssClass="input2" MaxLength="200"></asp:TextBox>&nbsp;&nbsp;
		合同名称：<asp:TextBox ID="txtContractName" runat="server"  cssClass="input2" MaxLength="200"></asp:TextBox>&nbsp;&nbsp;
		审核作业表编号：<asp:TextBox ID="txtCode" runat="server"  cssClass="input2" MaxLength="200"></asp:TextBox>&nbsp;&nbsp;       
        <asp:Button runat="server" ID="btnQuery" Text="查 找" CssClass="btn_normal" 
			onMouseOver="this.className='btn_active'" 
            onMouseOut="this.className='btn_normal'" onclick="btnQuery_Click" />&nbsp;&nbsp;
        <asp:Button runat="server" ID="btnSave" Text="保 存" CssClass="btn_normal" 
			onMouseOver="this.className='btn_active'" 
            onMouseOut="this.className='btn_normal'" onclick="btnSave_Click" OnClientClick="return setResult();" />
        <asp:HiddenField runat="server" ID="hidResult"  />
    </div> 
    <table cellpadding="0" width="100%" cellspacing="0" border="1" class="t1" id="tGrid">
		<thead>  
            <th align="center" width="30px">批次</th>
            <th align="center" width="40px">项目编号</th>
            <th align="center">项目名称</th>
            <th align="center">合同名称</th>
            <th align="center"  width="110px">审核作业表编号</th>
            <th align="center" width="80px">请款金额</th>
            <th align="center" width="80px">初审金额</th>
            <th align="center" width="80px">放款金额</th>
            <th align="center" width="70px">放款日期</th>
            <th align="center" width="80px">实拨金额</th>
            <th align="center" width="70px">实拨日期</th>
      	</thead>           
		<asp:Repeater runat="server" ID="rptList" 
            onitemdatabound="rptList_ItemDataBound">
			<ItemTemplate>
				<tr>
					<td><%#  DataBinder.Eval(Container.DataItem,"BatchNo") %></td>
                    <td><%#  DataBinder.Eval(Container.DataItem, "ProjectSN")%></td>
					<td style="text-align:left"><%#  DataBinder.Eval(Container.DataItem,"ProjectName") %></td>
					<td style="text-align:left"><%#  DataBinder.Eval(Container.DataItem,"ContractName") %></td>
                    <td><%#  DataBinder.Eval(Container.DataItem,"Code") %></td>
                    <td style="text-align:right"><%# string.Format("{0:N}",  DataBinder.Eval(Container.DataItem, "Amount_DocRec"))%></td>
                    <td style="text-align:right"><%# string.Format("{0:N}",   DataBinder.Eval(Container.DataItem, "Amount_S"))%></td>
                    <td><asp:TextBox runat="server" ID="txtGiveAmount" cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isDecimal();" Width="70px"></asp:TextBox></td>
                    <td><asp:TextBox runat="server" ID="txtGiveDate" cssClass="input2" onfocus="setday(this);" Width="60px"></asp:TextBox></td>
                    <td><asp:TextBox runat="server" ID="txtBFAmount" cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isDecimal();" Width="70px"></asp:TextBox></td>
                    <td><asp:TextBox runat="server" ID="txtBFDate" cssClass="input2" onfocus="setday(this);" Width="60px"></asp:TextBox></td>
				</tr>  
			</ItemTemplate>
		</asp:Repeater>
    </table>
    <div class="paging_area">
     <frameworkwebcontrols:aspnetpager id="AspNetPager1" runat="server"
                    alwaysshow="true" firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页" pageindexboxtype="DropDownList"
                    prevpagetext="上一页" showpageindex="true" showcustominfosection="Right" submitbuttontext="Go"
                    textafterpageindexbox="页" textbeforepageindexbox="转到" currentpagebuttonposition="End"
                    layouttype="Div" custominfotextalign="Right" custominfohtml="共%RecordCount%条记录。第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                    direction="LeftToRight" onpagechanged="AspNetPager1_PageChanged">
                </frameworkwebcontrols:aspnetpager>  
    </div>
</asp:Content>
